From 2a5cee571cb8eb1896f35431b54fa4d00fe2d682 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Tue, 27 Mar 2007 23:03:32 +0100 Subject: [PATCH] Added comment regarding a Python bug. Signed-off-by: Ewan Mellor --- tools/python/xen/xend/XendLogging.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/python/xen/xend/XendLogging.py b/tools/python/xen/xend/XendLogging.py index 3d6b678f1d..6fa58c02e3 100644 --- a/tools/python/xen/xend/XendLogging.py +++ b/tools/python/xen/xend/XendLogging.py @@ -62,6 +62,7 @@ if 'TRACE' not in logging.__dict__: # Work around a bug in Python's inspect module: findsource is supposed to # raise IOError if it fails, with other functions in that module coping # with that, but some people are seeing IndexError raised from there. + # This is Python bug 1628987. http://python.org/sf/1628987. if hasattr(inspect, 'findsource'): real_findsource = getattr(inspect, 'findsource') def findsource(*args, **kwargs): -- 2.30.2